<%@ page import="java.util.ArrayList" %>
<%@ page import="cn.itcast.domain.Book" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/21
  Time: 14:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>success</h1>


<table style="border: 1px solid black">
<c:forEach items="${requestScope.list}" var="a" varStatus="b">
    <tr>
        <td style="width: 50px">${a.id}</td>
        <td style="width: 240px" >${a.bookName}</td>
        <td style="width: 50px">${a.kind_id}</td>
        <td style="width: 180px">${a.author}</td>
        <td style="width: 200px">${a.company}</td>
        <td style="width: 60px">${a.price}</td>
    </tr>
</c:forEach>
</table>

</body>
</html>
